package com.shycloud.mido.homework.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Xiaoxing Yu
 * @date 2020/11/2 6:24 下午
 **/
@Component
@ConfigurationProperties(prefix = "customized")
public class PropertiesConfig {

	/**
	 * 每个平均划分阶段的长度，单位为月，可以划分为1,2,3,4,6,12几种情况
	 */
	private Integer periodLenOfEachYear;

	public Integer getPeriodLenOfEachYear() {
		return periodLenOfEachYear;
	}

	public void setPeriodLenOfEachYear(Integer periodLenOfEachYear) {
		this.periodLenOfEachYear = periodLenOfEachYear;
	}
}
